public class KeCheng
{
    int number;
    public String name;
    public String location;
    public String time;
    public String teacher;

    public KeCheng(int a,  String b, String c, String d, String e)
    {
        number = a;
        name = b;
        location = c;
        time = d;
        teacher = e;
    }
    public String toString()
        {
         return "编号："+ number+ "\n课程名称："+ name+ "\n上课地点："+ location+ "\n授课时间: "+ time+ "\n授课教师："+ teacher;
        }

}
